/**
  ******************************************************************************
  * @file    srv_mqtt.h
  * @author  zwx
  * @version V1.0.0
  * @date    2019-10-24
  * @brief   
  ******************************************************************************
  */  
#ifndef __SRV_MQTT_H__
#define __SRV_MQTT_H__

#include "stm32f10x.h"

/* Exported define -----------------------------------------------------------*/
/* Exported typedef ----------------------------------------------------------*/
enum MQTT_CON_RESULT
{
	MQTT_CON_OK,
	MQTT_CON_FAIL
};

/* Exported variables --------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
uint8_t Mqtt_Connect(void);
int mqtt_publish(char *pMessage);


#endif

/*****************************  End   ******************************************/


